<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>河东全景</title>
	<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link href="../../plugins/mui/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="../../css/city/vr.css">
	<script src="../../js/statistics.js"></script>
</head>
<body>
	<header class="mui-bar mui-bar-nav header">
		<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" id="back1"></a>
		<h1 class="mui-title">河东全景</h1>
	</header>
	<script src="../../plugins/mui/mui.min.js"></script>
	<script src="../../plugins/jquery/jquery-3.1.0.min.js"></script>
	<script src="../../js/getApiToken.js"></script>
	<script src="../../js/md5.js"></script>
	<script>
	mui.init({
		swipeBack: false,
//		statusBarBackground: '#43ac45',
		gestureConfig: {
			doubletap: true
		}
	});
	mui.plusReady(function(){
		//关闭等待框
		plus.nativeUI.closeWaiting();
		//显示当前页面
		mui.currentWebview.show('slide-in-right',500);
		var self = plus.webview.currentWebview();
		var type = self.vrtype;
		inittabitemWebviews( type);
	});
	function inittabitemWebviews( type){
		var data =[
			'https://720yun.com/t/f0cjOpmkzu4?pano_id=2273764',
			'https://720yun.com/t/d4f2bxf6946?pano_id=961239',
			'https://720yun.com/t/f48jOptkrw6?pano_id=2243391',
			'https://720yun.com/t/b2a2dcsO9cr?pano_id=1368235',
			'https://720yun.com/t/1202acrOwbn?pano_id=1189599',
			'https://720yun.com/t/aea20jpkwe6?pano_id=275967',
			'https://720yun.com/t/977jOgkmty7?pano_id=2933137',
			'https://720yun.com/t/23b26aagqni?pano_id=670966',
			'https://720yun.com/t/a9d2emsuy4n?pano_id=544336'
		];
		barItemWebviewArray = mui.preload({
			url:data[type - 1],
			//			url:'https://www.baidu.com',
			id:Math.random(),
			styles:{
				top:'44px',
				bottom: '0',
				left: '0px',
				bounce: 'vertical',
				background:'transparent'
			},
			waiting:{
				autoShow:true,//自动显示等待框，默认为true
				title:'正在加载...'//等待对话框上显示的提示内容
			}
		});
		mainWebview = plus.webview.currentWebview();
		mainWebview.append(barItemWebviewArray);
	}
	</script>
</body>
</html>